package com.gcit.seniorWish.web.modular.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.gcit.seniorWish.web.common.persistence.model.Dict;

import java.util.List;

/**
 * 字典服务
 *
 * @author fengshuonan
 * @date 2017-04-27 17:00
 */
public interface IDictService extends IService<Dict> {

    /**
     * 添加字典
     *
     * @author fengshuonan
     * @Date 2017/4/27 17:01
     */
    void addDict(Dict pDict, List<Dict> subDictList);

    /**
     * 编辑字典
     *
     * @author fengshuonan
     * @Date 2017/4/28 11:01
     */
    void editDict(Dict pDict, List<Dict> subDictList);

    /**
     * 删除字典
     *
     * @author fengshuonan
     * @Date 2017/4/28 11:39
     */
    void deleteDict(String dictId);

}
